package com.caesar.method_fa;

/**
 * @author caesar
 * @date 2025/7/9
 * @Description:
 * @apiNote
 */
public abstract class Graphic {
    public abstract double area();
    public abstract double perimeter();

    @Override
    public String toString() {
        return "面积："+area()+"，周长："+perimeter();
    }
}

